package com.macro.mall.dao.cms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.cms.CmsTopicCategoryDO;
import com.macro.mall.model.cms.CmsTopicCategoryQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CmsTopicCategoryMapper extends BaseMapper<CmsTopicCategoryDO> {
    long countByExample(CmsTopicCategoryQuery example);

    int deleteByExample(CmsTopicCategoryQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(CmsTopicCategoryDO record);

    int insertSelective(CmsTopicCategoryDO record);

    List<CmsTopicCategoryDO> selectByExample(CmsTopicCategoryQuery example);

    CmsTopicCategoryDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CmsTopicCategoryDO record, @Param("example") CmsTopicCategoryQuery example);

    int updateByExample(@Param("record") CmsTopicCategoryDO record, @Param("example") CmsTopicCategoryQuery example);

    int updateByPrimaryKeySelective(CmsTopicCategoryDO record);

    int updateByPrimaryKey(CmsTopicCategoryDO record);
}
